<template>
  <div class="NoPassBox">
    <div class="line"></div>
    <div class="inputBox">
      <textarea
        class="input"
        name=""
        id=""
        cols="30"
        rows="10"
        placeholder="请描述一下不通过存在问题"
        v-model="illustrateValue"
        @change="illustrateInput($event)"
      ></textarea>
    </div>
  </div>
</template>

<script>
import store from '@/store/index.js';
export default {
  data() {
    return {
      show: false,
      illustrateValue:'', //不通过 说明
    };
  },
  methods: {
    illustrateInput(e) {
      
      this.illustrateValue=e.target._value
      ////console.log( this.illustrateValue);
      store.commit('saveIllustrateValue',this.illustrateValue)

    },
  },
};
</script>

<style lang="scss" scoped>
.NoPassBox {
  .line{
    height: 1px;
    width: 100%;
    background-color: #F0F0F0;
  }
  .inputBox {
    padding: 17px 20px 0px;
    > .input {
      resize: none;
      width: 380px;
      height: 100px;
      color: #c3c3c3;
      font-size: 12px;
      padding: 17px 18px;
      border: 1px solid #f0f0f0;
      outline: none;
      &:focus {
        border: 1px solid #409eff;
      }
    }
  }

  textarea::-webkit-input-placeholder {
    font-size: 12px;
    color: #c3c3c3;
  } /*webkit 内核浏览器*/
  textarea::-moz-placeholder {
    font-size: 12px;
    color: #c3c3c3;
  } /*Mozilla Firefox 19+*/
  textarea:-moz-placeholder {
    font-size: 12px;
    color: #c3c3c3;
  } /*Mozilla Firefox 4 to 18*/
  textarea:-ms-input-placeholder {
    font-size: 12px;
    color: #c3c3c3;
  }
}
</style>
